<?php
include '../../init.php';

// 判断用户是否登录
is_login();


include DIR_CORE.'mysql.php';
$title = '沐水莲心-完善资料';

$name = $_SESSION['userInfo']['name'];

//提取user表数据信息
$sql = "select * from user where name = '$name'";
$res = mysqli_query($link, $sql);
$row = mysqli_fetch_assoc($res);

//var_dump($row);


include DIR_VIEW.'admin/info.html';
